﻿using DBHelpLib.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DBHelpLib.Dal
{
    /// <summary>
    /// 系统配置
    /// </summary>
    public class aapsetDal:dbBase
    {
        public async Task<int> AddData(appsetModel log)
        {
            return await helpClass.SaveItemAsync(log);
        }
        //public async Task<int> DelData(string anme, int type)
        //{
        //    return await helpClass.Database.Table<appsetModel>().Where(x => x.Name == anme && x.Type == type).DeleteAsync();
        //}

        //public async Task<List<appsetModel>> SelectData(int contentType)
        //{
        //    return await helpClass.Database.Table<dbCheappsetModelckType>().Where(x => x.Type == contentType).ToListAsync();
        //}

    }
}
